/* =========================
   MAIN
========================= */
.publish-page{
  width: 100%;
}

/* =========================
   CONTENEDOR
========================= */
.publish-container{
  width: 100%;
  margin: 0 auto;
}

/* =========================
   MAIN CONTENT
========================= */
.publish-main{
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* =========================
   BREADCRUMB
========================= */
.publish-breadcrumb{
  font-size: 13px;
  color: #8c8c8c;
  margin-bottom: 8px;

  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
}

.publish-breadcrumb a{
  color: #8c8c8c;
  text-decoration: none;
}

.publish-breadcrumb a:hover{
  text-decoration: underline;
}

.publish-breadcrumb p{
  color: #666;
}

/* =========================
   TITLE
========================= */
.publish-title{
  font-size: 28px;
  font-weight: 600;
  margin-bottom: .5rem;
}

.publish-description{
  font-size: 16px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 24px;
  max-width: 700px;
}

/* =========================
   STEPS
========================= */
.publish-steps{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .8rem;
  margin-bottom: 2rem;
}

.publish-step{
  width: 44px;
  height: 44px;

  border-radius: 50%;

  border: 1px solid #dcdcdc;
  background: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 15px;
  font-weight: 600;

  color: #666;
}

.publish-step.active{
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #2563EB;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .08);
}

.publish-step.completed{
  background: #2563EB;
  border-color: #2563EB;
  color: #fff;
}

.publish-line{
  width: 52px;
  height: 1px;
  background: #dcdcdc;
}

.publish-line.active{
  background: #2563EB;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 480px){

  .publish-steps{
    gap: .4rem;
  }

  .publish-step{
    width: 38px;
    height: 38px;
  }

  .publish-line{
    width: 22px;
  }
}

/* =========================
   GRID
========================= */
.publish-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

/* =========================
   CARD
========================= */
.publish-card{
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  padding: 20px;
  transition: box-shadow .2s ease;
}

.publish-card:hover{
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* =========================
   SEARCH
========================= */
.publish-search{
  position: relative;
  margin-bottom: 24px;
}

.publish-search input{
  width: 100%;
  height: 52px;

  border: 1px solid #e6e6e6;
  border-radius: 6px;

  padding: 0 1rem 0 3rem;

  font-size: 15px;
  outline: none;
}

.publish-search input:focus{
  border-color: #bfdbfe;
}

.publish-search i{
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
}

/* =========================
   CATEGORY GRID
========================= */
.publish-categories{
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 16px;
}

/* =========================
   CATEGORY ITEM
========================= */
.publish-category{
  border: 1px solid #e6e6e6;
  border-radius: 6px;

  background: #fff;

  min-height: 120px;

  cursor: pointer;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .8rem;

  transition: .2s ease;
}

.publish-category:hover{
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.publish-category.active{
  background: #eff6ff;
  border-color: #bfdbfe;
}

.publish-category span{
  font-size: 30px;
}

.publish-category span img{
  width: 45px;
  height: 45px;
}

.publish-category p{
  font-size: 16px;
  font-weight: 600;
}

/* =========================
   SUBCATEGORY
========================= */
.subcategory-header{
  margin-bottom: 20px;
}

.subcategory-header h2{
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 6px;
}

.subcategory-header p{
  color: #666;
  font-size: 15px;
}

/* =========================
   SUBCATEGORY LIST
========================= */
.subcategory-list{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.subcategory-item{
  border: 1px solid #e6e6e6;
  border-radius: 6px;

  padding: 14px;

  cursor: pointer;

  font-size: 15px;
  font-weight: 500;

  transition: .2s ease;
}

.subcategory-item:hover{
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.subcategory-item.active{
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #2563EB;
}

/* =========================
   SELECTED
========================= */
.selected-wrapper{
  margin-top: 24px;
}

.selected-wrapper small{
  display: block;
  margin-bottom: 10px;
  color: #666;
}

.selected-category{
  border: 1px solid #bfdbfe;
  border-radius: 6px;
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #2563EB;
  padding: 14px;

  font-size: 15px;
  font-weight: 600;
}

/* =========================
   BUTTON
========================= */
.publish-btn{
  width: 100%;
  height: 52px;

  border: none;
  border-radius: 6px;

  margin-top: 24px;

  background: #2563EB;
  color: white;

  font-size: 15px;
  font-weight: 600;

  cursor: pointer;

  transition: .2s ease;
}

.publish-btn:hover{
  opacity: .95;
}

/* =========================
   TABLET
========================= */
@media (min-width: 768px){

  .publish-main{
    padding-top: 2rem;
    padding-bottom: 6rem;
  }

  .publish-container{
    width: 100%;
  }

  .publish-grid{
    grid-template-columns: 1.2fr .8fr;
  }

}

/* =========================
   DESKTOP
========================= */
@media (min-width: 1024px){

  .publish-main{
    padding-top: 2rem;
    padding-bottom: 6rem;
  }

  .publish-container{
    width: 80%;
  }

}

/* =========================
   MOBILE
========================= */
@media (max-width: 480px){

  .publish-main{
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .publish-card{
    padding: 14px;
  }

  .publish-categories{
    grid-template-columns: 1fr;
  }

  .publish-title{
    font-size: 26px;
  }

  .publish-description{
    font-size: 15px;
  }
}
